package com.fingard.dsp.bank.reqrespobj.currtransperiod.detail;

import com.fingard.xml.XElement;

/**
 * Created by F on 2018/11/19.
 */
public class Req4005Detail {
    //    付方账号
    public String payAct;
    //    付方名称
    public String payName;
    //    付方账户区域
    public String payActArea;
    //    开户行行名
    public String payBnk;
    //    开户行行号
    public String payBnkCode;
    //收方账号
    public String recAct;
    //    收方名称
    public String recName;
    //    收方账户区域
    public String recActArea;
    //    开户行行名
    public String recBnk;
    //    开户行行号
    public String recBnkCode;
    //币种
    public String currencyID;
    //    支付金额
    public String payAmount;
    //    期限
    public String terms;
    //开始日期
    public String beginDate;
    //到期日期
    public String endDate;

    //    到期是否转存 0：不转存和1:转存
    public String autoFlag;
    //    钞汇类型 0:现钞 1：现汇
    public String cashBill;
    //     用途
    public String usage;
    //    流水号
    public String askNumber;
    //      备注
    public String comment;
    public XElement srcXElement;
    public String transType;
    public String rate;


    public Req4005Detail(XElement p_xelement, String p_transType, String p_bankCode) throws Exception {
        srcXElement = p_xelement;
        transType = p_transType;
        payAct = p_xelement.getSingleText("PayAct");
        payName = p_xelement.getSingleText("PayName");
        payActArea = p_xelement.getSingleText("PayActArea");
        payBnk = p_xelement.getSingleText("PayBnk");
        payBnkCode = p_xelement.getSingleText("PayBnkCode");
        recAct = p_xelement.getSingleText("RecAct");
        recName = p_xelement.getSingleText("RecName");
        recActArea = p_xelement.getSingleText("RecActArea");
        recBnk = p_xelement.getSingleText("RecBnk");
        recBnkCode = p_xelement.getSingleText("RecBnkCode");
        currencyID = p_xelement.getSingleText("CurrencyID");
        payAmount = p_xelement.getSingleText("PayAmount");
        terms = p_xelement.getSingleText("Terms");
        autoFlag = p_xelement.getSingleText("AutoFlag");

        cashBill = p_xelement.getSingleText("CashBill");
        usage = p_xelement.getSingleText("Usage");
        askNumber = p_xelement.getSingleText("ReqSeqID");
        comment = p_xelement.getSingleText("Comment");
        beginDate = p_xelement.getSingleText("BeginDate");
        endDate = p_xelement.getSingleText("EndDate");
        rate = p_xelement.getSingleText("Rate");

    }


}
